package com.dm.home.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dm.common.utils.DubboUtil;
import com.dm.home.mapper.DmAreaMapper;
import com.dm.home.service.DmAreaService;
import com.dm.module.DmArea;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


import java.util.List;
@Service(version = DubboUtil.VERSION_1,group = DubboUtil.GROUP_NAME)
@Component
public class DmAreaServiceImpl implements DmAreaService {

    @Autowired
    private DmAreaMapper dmAreaMapper;

    @Override
    public List<DmArea> getAll() {
        List<DmArea> list = dmAreaMapper.getAll();
        return list;
    }
}
